package com.drg.center.entity.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/31
 */
@ApiModel("部门信息VO")
@Data
public class SysDeptVO implements Serializable {

    @ApiModelProperty("His科室编号")
    private String departCode;

    @ApiModelProperty("His科室名称")
    private String departName;

    @ApiModelProperty("His父级科室编号")
    private String parentCode;

    @ApiModelProperty("医保科室编号")
    private String miDepartCode;

    @ApiModelProperty("医保科室名称")
    private String miDepartName;

    @ApiModelProperty("逻辑停用（非0:已停用, 0:未停用）")
    private Long disabled;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime updateTime;
}
